package org.jeecg.modules.demo.projectgroup.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.projectgroup.entity.ProjectGroup;
import org.jeecg.modules.demo.projectgroup.mapper.ProjectGroupMapper;
import org.jeecg.modules.demo.projectgroup.service.IProjectGroupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 项目分组
 * @Author: jeecg-boot
 * @Date: 2021-12-30
 * @Version: V1.0
 */
@Service
public class ProjectGroupServiceImpl extends ServiceImpl<ProjectGroupMapper, ProjectGroup> implements IProjectGroupService {
    @Autowired
    private ProjectGroupMapper projectGroupMapper;

    // 根据订单id查询
    @Override
    public List<ProjectGroup> getListByStoreId(String storeId) {
        return projectGroupMapper.getListByStoreId(storeId);
    }
}
